
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>准备工作 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="log.html" />
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    概览
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" >
            
                <span>
            
                    
                    快速入门
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../guides/project.html">
            
                <a href="../guides/project.html">
            
                    
                    项目结构和初始化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../guides/api.html">
            
                <a href="../guides/api.html">
            
                    
                    API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../guides/doc.html">
            
                <a href="../guides/doc.html">
            
                    
                    生成 API 文档
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../guides/client.html">
            
                <a href="../guides/client.html">
            
                    
                    生成客户端
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    概念
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../concepts/cp.html">
            
                <a href="../concepts/cp.html">
            
                    
                    Consumer && Producer
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="../concepts/operator.html">
            
                <a href="../concepts/operator.html">
            
                    
                    Operator
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="../concepts/filter.html">
            
                <a href="../concepts/filter.html">
            
                    
                    Filter
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="../concepts/prefab.html">
            
                <a href="../concepts/prefab.html">
            
                    
                    Prefab
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="../concepts/modifier.html">
            
                <a href="../concepts/modifier.html">
            
                    
                    Modifier
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.6" data-path="../concepts/middleware.html">
            
                <a href="../concepts/middleware.html">
            
                    
                    Middleware
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.7" data-path="../concepts/context.html">
            
                <a href="../concepts/context.html">
            
                    
                    Context
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.8" data-path="../concepts/source.html">
            
                <a href="../concepts/source.html">
            
                    
                    Parameter Generator
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.9" data-path="../concepts/destination.html">
            
                <a href="../concepts/destination.html">
            
                    
                    Destination Handler
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.10" data-path="../concepts/error.html">
            
                <a href="../concepts/error.html">
            
                    
                    错误包
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.11" data-path="../concepts/method.html">
            
                <a href="../concepts/method.html">
            
                    
                    方法包
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.12" data-path="../concepts/configurer.html">
            
                <a href="../concepts/configurer.html">
            
                    
                    配置器机制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.13" data-path="../concepts/plugin.html">
            
                <a href="../concepts/plugin.html">
            
                    
                    插件机制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.14" data-path="../concepts/clients.html">
            
                <a href="../concepts/clients.html">
            
                    
                    多客户端整合
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    插件
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../plugins/logger.html">
            
                <a href="../plugins/logger.html">
            
                    
                    系统日志插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../plugins/reqlog.html">
            
                <a href="../plugins/reqlog.html">
            
                    
                    请求日志插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../plugins/metrics.html">
            
                <a href="../plugins/metrics.html">
            
                    
                    监控指标插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../plugins/tracing.html">
            
                <a href="../plugins/tracing.html">
            
                    
                    请求追踪插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../plugins/profiling.html">
            
                <a href="../plugins/profiling.html">
            
                    
                    性能分析插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="../plugins/version.html">
            
                <a href="../plugins/version.html">
            
                    
                    版本信息插件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="../plugins/healthcheck.html">
            
                <a href="../plugins/healthcheck.html">
            
                    
                    健康检查插件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    框架开发者指南
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.5.1" data-path="start.html">
            
                <a href="start.html">
            
                    
                    准备工作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="log.html">
            
                <a href="log.html">
            
                    
                    log
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="errors.html">
            
                <a href="errors.html">
            
                    
                    errors
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="definition.html">
            
                <a href="definition.html">
            
                    
                    definition
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="method.html">
            
                <a href="method.html">
            
                    
                    definition/method
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="converter.html">
            
                <a href="converter.html">
            
                    
                    operators/converter
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="validator.html">
            
                <a href="validator.html">
            
                    
                    operators/validator
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="router.html">
            
                <a href="router.html">
            
                    
                    service/router
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="service.html">
            
                <a href="service.html">
            
                    
                    service
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="nirvana.html">
            
                <a href="nirvana.html">
            
                    
                    nirvana
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="config.html">
            
                <a href="config.html">
            
                    
                    config
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.12" data-path="rest.html">
            
                <a href="rest.html">
            
                    
                    rest
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.13" data-path="utils.html">
            
                <a href="utils.html">
            
                    
                    utils
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.14" data-path="command.html">
            
                <a href="command.html">
            
                    
                    cmd/nirvana
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >准备工作</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x51C6;&#x5907;&#x5DE5;&#x4F5C;">&#x51C6;&#x5907;&#x5DE5;&#x4F5C;</h1>
<h2 id="&#x5F00;&#x53D1;&#x5DE5;&#x5177;&#x4ECB;&#x7ECD;">&#x5F00;&#x53D1;&#x5DE5;&#x5177;&#x4ECB;&#x7ECD;</h2>
<ol>
<li>golang&#xFF1A;<a href="https://golang.org/dl/" target="_blank">https://golang.org/dl/</a></li>
<li>dep&#xFF1A;<a href="https://github.com/golang/dep" target="_blank">https://github.com/golang/dep</a></li>
<li>gometalinter&#xFF1A;<a href="https://github.com/alecthomas/gometalinter" target="_blank">https://github.com/alecthomas/gometalinter</a></li>
</ol>
<p>&#x4E00;&#x822C;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x6211;&#x4EEC;&#x4F7F;&#x7528;&#x6700;&#x65B0;&#x7248;&#x672C;&#x7684; golang &#x8FDB;&#x884C;&#x5F00;&#x53D1;&#xFF0C;&#x4F46;&#x662F;&#x9700;&#x8981;&#x4FDD;&#x8BC1;&#x4E24;&#x4E2A; golang &#x5927;&#x7248;&#x672C;&#x7684;&#x517C;&#x5BB9;&#x6027;&#x3002;&#x5373;&#x4F7F;&#x7528; 1.10.x &#x5F00;&#x53D1;&#x7684;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x9700;&#x8981;&#x4FDD;&#x6301;&#x5BF9; 1.9.x &#x7684;&#x517C;&#x5BB9;&#x6027;&#x3002;
&#x53E6;&#x5916; Nirvana &#x53EA;&#x4F7F;&#x7528; dep &#x8FDB;&#x884C;&#x4F9D;&#x8D56;&#x7BA1;&#x7406;&#xFF0C;&#x4E0D;&#x8981;&#x4F7F;&#x7528;&#x5176;&#x4ED6;&#x4F9D;&#x8D56;&#x7BA1;&#x7406;&#x5DE5;&#x5177;&#x5BF9; vendor &#x8FDB;&#x884C;&#x4EFB;&#x4F55;&#x66F4;&#x65B0;&#x64CD;&#x4F5C;&#x3002;&#x5E76;&#x4E14;&#x6240;&#x6709;&#x7684;&#x4F9D;&#x8D56;&#x9700;&#x8981;&#x653E;&#x7F6E;&#x5728;&#x6839;&#x76EE;&#x5F55;&#x7684; vendor &#x4E2D;&#xFF0C;&#x4E0D;&#x80FD;&#x5728;&#x4EFB;&#x4F55;&#x5B50;&#x76EE;&#x5F55;&#x4E0B;&#x4F7F;&#x7528; vendor&#x3002;
&#x9664;&#x4E86;&#x5E38;&#x89C4;&#x7684; go test &#x6D4B;&#x8BD5;&#x4EE5;&#x5916;&#xFF0C;&#x8FD8;&#x9700;&#x8981;&#x4F7F;&#x7528; gometalinter &#x8FDB;&#x884C;&#x4EE3;&#x7801;&#x68C0;&#x67E5;&#xFF0C;gometalinter &#x7684;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x5728;&#x6839;&#x76EE;&#x5F55;&#x7684; config.json &#x4E2D;&#x3002;</p>
<h2 id="&#x5DE5;&#x4F5C;&#x6D41;&#x7A0B;">&#x5DE5;&#x4F5C;&#x6D41;&#x7A0B;</h2>
<p>&#x5728; githuh &#x4E0A; Fork <a href="https://github.com/caicloud/nirvana/" target="_blank">Nirvana</a> &#x5230;&#x81EA;&#x5DF1;&#x7684;&#x8D26;&#x6237;&#x4E0B;&#xFF0C;&#x7136;&#x540E;&#x4E0B;&#x8F7D;&#x6E90;&#x7801;&#x5230;&#x672C;&#x5730;&#x5F00;&#x53D1;&#x76EE;&#x5F55;&#x4E2D;&#xFF1A;</p>
<pre><code>$ cd $GOPATH/src
$ mkdir -p github.com/caicloud/
$ cd github.com/caicloud/
$ git clone git@github.com:{your account}/nirvana.git
</code></pre><p>&#x5728;&#x5B8C;&#x6210;&#x4FEE;&#x6539;&#x5E76;&#x63D0;&#x4EA4;&#x5230;&#x81EA;&#x5DF1;&#x7684; repo &#x4E4B;&#x540E;&#xFF0C;&#x901A;&#x8FC7; github PR &#x7684;&#x5F62;&#x5F0F;&#x5411; Nirvana &#x63D0;&#x4EA4;&#x4EE3;&#x7801;&#x3002;</p>
<h2 id="&#x6846;&#x67B6;&#x8BBE;&#x8BA1;&#x6982;&#x89C8;">&#x6846;&#x67B6;&#x8BBE;&#x8BA1;&#x6982;&#x89C8;</h2>
<p>Nirvana &#x6846;&#x67B6;&#x7684;&#x8BBE;&#x8BA1;&#x6838;&#x5FC3;&#x601D;&#x60F3;&#x662F;&#xFF1A;<strong>&#x9694;&#x79BB; API &#x5B9A;&#x4E49;&#x548C;&#x4E1A;&#x52A1;&#x903B;&#x8F91;&#x5B9E;&#x73B0;</strong></p>
<p>&#x4E5F;&#x5C31;&#x662F;&#x5728;&#x4F7F;&#x7528;&#x6846;&#x67B6;&#x7684;&#x8FC7;&#x7A0B;&#x4E2D;&#xFF0C;&#x7528;&#x6237;&#x7684;&#x4E1A;&#x52A1;&#x51FD;&#x6570;&#x7684;&#x8868;&#x73B0;&#x5F62;&#x5F0F;&#x4E0E;&#x5176;&#x4ED6;&#x666E;&#x901A;&#x51FD;&#x6570;&#x6CA1;&#x6709;&#x5DEE;&#x522B;&#x3002;&#x57FA;&#x4E8E;&#x6B64;&#xFF0C;&#x6846;&#x67B6;&#x4E2D;&#x7684;&#x6BCF;&#x4E2A;&#x7EC4;&#x4EF6;&#x548C;&#x5DE5;&#x5177;&#x5305;&#x90FD;&#x4E0D;&#x5E94;&#x8BE5;&#x4FB5;&#x5165;&#x7528;&#x6237;&#x7684;&#x4E1A;&#x52A1;&#x903B;&#x8F91;&#x3002;&#x5982;&#x679C;&#x5B58;&#x5728;&#x5FC5;&#x987B;&#x8981;&#x4E1A;&#x52A1;&#x903B;&#x8F91;&#x4F5C;&#x51FA;&#x5904;&#x7406;&#x7684;&#x529F;&#x80FD;&#xFF0C;&#x4E5F;&#x5E94;&#x5F53;&#x4EE5;&#x63A5;&#x53E3;&#x7684;&#x5F62;&#x5F0F;&#x63D0;&#x4F9B;&#xFF0C;&#x5E76;&#x4E14;&#x5141;&#x8BB8;&#x7528;&#x6237;&#x81EA;&#x884C;&#x6269;&#x5C55;&#x3002;</p>
<p>Nirvana &#x5305;&#x4E4B;&#x95F4;&#x7684;&#x4F9D;&#x8D56;&#x5173;&#x7CFB;&#xFF1A;
<img src="images/packages.png" alt="packages"></p>
<ol>
<li>&#x5176;&#x4E2D; log &#x4E0E; errors &#x662F;&#x57FA;&#x7840;&#x5305;&#xFF0C;&#x5206;&#x522B;&#x8D1F;&#x8D23;&#x65E5;&#x5FD7;&#x57FA;&#x7840;&#x63A5;&#x53E3;&#x548C;&#x9519;&#x8BEF;&#x5904;&#x7406;&#x57FA;&#x7840;&#x63A5;&#x53E3;&#x3002;</li>
<li>definition &#x5305;&#x5305;&#x542B; Nirvana &#x6846;&#x67B6;&#x7684; API &#x5B9A;&#x4E49;&#x4EE5;&#x53CA;&#x4E00;&#x4E9B;&#x76F8;&#x5173;&#x7684;&#x5DE5;&#x5177;&#x65B9;&#x6CD5;&#x3002;&#x4F5C;&#x4E3A;&#x6846;&#x67B6;&#x7684;&#x57FA;&#x7840;&#xFF0C;&#x8FD9;&#x4E2A;&#x5305;&#x4E0D;&#x80FD;&#x4F9D;&#x8D56;&#x5176;&#x4ED6;&#x4EFB;&#x4F55;&#x5305;&#x3002;</li>
<li>definition/method &#x5E2E;&#x52A9;&#x7528;&#x6237;&#x628A;&#x5B9E;&#x4F8B;&#x65B9;&#x6CD5;&#x8F6C;&#x6362;&#x4E3A; definition &#x51FD;&#x6570;&#x3002;&#x8BF7;&#x53C2;&#x8003; <a href="../concepts/method.html">&#x65B9;&#x6CD5;&#x5305;</a>&#x3002;</li>
<li>operators &#x4E2D;&#x5305;&#x542B;&#x4E86;&#x4E24;&#x4E2A;&#x7EC4;&#x4EF6;&#x529F;&#x80FD;&#x5B9E;&#x73B0;&#x4E86; converters &#x548C; validators&#xFF0C;&#x7528;&#x4E8E; API &#x53C2;&#x6570;&#x7684;&#x7C7B;&#x578B;&#x8F6C;&#x6362;&#x548C;&#x6570;&#x636E;&#x9A8C;&#x8BC1;&#x3002;</li>
<li>service/router &#x5305;&#x5B9E;&#x73B0;&#x4E86;&#x57FA;&#x4E8E;&#x524D;&#x7F00;&#x6811;&#x7684;&#x8DEF;&#x7531;&#x548C;&#x4E2D;&#x95F4;&#x4EF6;&#x529F;&#x80FD;&#x3002;</li>
<li>service &#x5305;&#x5B9E;&#x73B0;&#x4E86;&#x6846;&#x67B6; API &#x8DEF;&#x7531;&#x548C;&#x5904;&#x7406;&#x7684;&#x6240;&#x6709;&#x529F;&#x80FD;&#x3002;</li>
<li>nirvana &#x5305;&#x5B9E;&#x73B0;&#x4E86; API Server &#x4EE5;&#x53CA;&#x63D2;&#x4EF6;&#x5316;&#x529F;&#x80FD;&#x3002;</li>
<li>plugins &#x4E2D;&#x5305;&#x542B;&#x4E86;&#x8BB8;&#x591A;&#x5B9E;&#x73B0;&#x4E86; nirvana &#x63D2;&#x4EF6;&#x63A5;&#x53E3;&#x7684;&#x63D2;&#x4EF6;&#x3002;</li>
<li>config &#x5305;&#x5B9E;&#x73B0;&#x4E86; Nirvana Command &#x529F;&#x80FD;&#xFF0C;&#x5E76;&#x63D0;&#x4F9B;&#x4E86;&#x4ECE; flags&#xFF0C;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#xFF0C;&#x914D;&#x7F6E;&#x6587;&#x4EF6;&#x4E2D;&#x8BFB;&#x53D6;&#x914D;&#x7F6E;&#x7684;&#x80FD;&#x529B;&#x3002;&#x8FD9;&#x4E2A;&#x5305;&#x4E5F;&#x662F;&#x7528;&#x6237;&#x4F7F;&#x7528; Nirvana &#x7684;&#x5165;&#x53E3;&#x5305;&#x3002;</li>
<li>utils &#x5305;&#x5305;&#x542B;&#x591A;&#x4E2A;&#x5DE5;&#x5177;&#x7528;&#x4E8E; API &#x751F;&#x6210;&#xFF0C;&#x5BA2;&#x6237;&#x7AEF;&#x4EE3;&#x7801;&#x751F;&#x6210;&#xFF0C;&#x9879;&#x76EE;&#x7ED3;&#x6784;&#x751F;&#x6210;&#x3002;</li>
<li>cmd/nirvana &#x662F; Nirvana &#x7684;&#x4E3B;&#x8981;&#x547D;&#x4EE4;&#xFF0C;&#x5229;&#x7528; utils &#x5305;&#x5E2E;&#x52A9;&#x7528;&#x6237;&#x5FEB;&#x901F;&#x6784;&#x5EFA;&#x9879;&#x76EE;&#x3002;</li>
</ol>
<p>&#x5728;&#x540E;&#x7EED;&#x7684;&#x6587;&#x6863;&#x4E2D;&#xFF0C;&#x4F1A;&#x9010;&#x6B65;&#x4ECB;&#x7ECD;&#x6BCF;&#x4E2A;&#x5305;&#x7684;&#x8BBE;&#x8BA1;&#x65B9;&#x6CD5;&#x548C;&#x4E3B;&#x8981;&#x4EE3;&#x7801;&#x903B;&#x8F91;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="log.html" class="navigation navigation-next navigation-unique" aria-label="Next page: log">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"准备工作","level":"1.5.1","depth":2,"next":{"title":"log","level":"1.5.2","depth":2,"path":"topics/log.md","ref":"topics/log.md","articles":[]},"previous":{"title":"框架开发者指南","level":"1.5","depth":1,"ref":"","articles":[{"title":"准备工作","level":"1.5.1","depth":2,"path":"topics/start.md","ref":"topics/start.md","articles":[]},{"title":"log","level":"1.5.2","depth":2,"path":"topics/log.md","ref":"topics/log.md","articles":[]},{"title":"errors","level":"1.5.3","depth":2,"path":"topics/errors.md","ref":"topics/errors.md","articles":[]},{"title":"definition","level":"1.5.4","depth":2,"path":"topics/definition.md","ref":"topics/definition.md","articles":[]},{"title":"definition/method","level":"1.5.5","depth":2,"path":"topics/method.md","ref":"topics/method.md","articles":[]},{"title":"operators/converter","level":"1.5.6","depth":2,"path":"topics/converter.md","ref":"topics/converter.md","articles":[]},{"title":"operators/validator","level":"1.5.7","depth":2,"path":"topics/validator.md","ref":"topics/validator.md","articles":[]},{"title":"service/router","level":"1.5.8","depth":2,"path":"topics/router.md","ref":"topics/router.md","articles":[]},{"title":"service","level":"1.5.9","depth":2,"path":"topics/service.md","ref":"topics/service.md","articles":[]},{"title":"nirvana","level":"1.5.10","depth":2,"path":"topics/nirvana.md","ref":"topics/nirvana.md","articles":[]},{"title":"config","level":"1.5.11","depth":2,"path":"topics/config.md","ref":"topics/config.md","articles":[]},{"title":"rest","level":"1.5.12","depth":2,"path":"topics/rest.md","ref":"topics/rest.md","articles":[]},{"title":"utils","level":"1.5.13","depth":2,"path":"topics/utils.md","ref":"topics/utils.md","articles":[]},{"title":"cmd/nirvana","level":"1.5.14","depth":2,"path":"topics/command.md","ref":"topics/command.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":[],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"language":"zh-hans","gitbook":"*"},"file":{"path":"topics/start.md","mtime":"2019-08-06T09:48:58.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-10-20T10:33:16.586Z"},"basePath":"..","book":{"language":"zh-hans"}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

